Cost Implemetation